<?php

class DBConnection{
	protected $hDB;
	
	public function __construct(){		
		$this->hDB = mysql_connect("localhost", "root", "") or die("Failure connecting to the database!");		
		mysql_select_db("db_esale", $this->hDB);
		mysql_query("SET NAMES utf8");
	}
}